﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Domain.BreedDomain;
using Traceability.Domain.DeepProcessingDomain;
using Traceability.Domain.SlaughterDomain;
using Traceability.Domain.TraceabilityDto;

namespace Traceability.Domain.Service.DeepProcessingServices
{
    public interface IDeepProcessingService
    {
        /// <summary>
        /// 添加深加工信息
        /// </summary>
        /// <param name="deepProcessing">深加工实体</param>
        /// <returns>返回受影响的行数</returns>
        Task<int> AddDeepProcessing(DeepProcessing deepProcessing);

        Task<List<DeepProcessingDto>> GetAllDeepProcessingList(int shoppingId);

        Task<int> UpdateDeepProcessing(DeepProcessing deepProcessing);

        Task<int> DeleteDeepProcessing(int deepProcessingId, string userMame);

        Task<DeepProcessing> GetDeepProcessingModel(int deepProcessingId);
    }
}
